package hy.config;

import hy.entity.Dog;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

@ImportResource(locations = "classpath:u.xml")
@Configuration
//@EnableConfigurationProperties(Person.class)

public class MyCfg {
    //@Bean(name="abc")
    public Dog getD(){

        return new Dog();
    }
}
